package com.insta.formation.library.manager;

import java.util.Set;

import com.insta.formation.library.model.IBook;
import com.insta.formation.library.model.IRentBook;
import com.insta.formation.library.model.IUser;

public interface IRentManager
{
	void rentBook(IUser _user, IBook _book) throws NotEnoughtExemplaireException;

	void returnBook(IRentBook _rent) throws NotSuchRentException;

	void returnBook(long _idRent) throws NotSuchRentException;

	Set<IRentBook> getAllRents();
}
